package com.misty.factory_pattern.singlefactory;

public class Singleton {

    private Singleton() {
        System.out.println("实例被创建" + this.hashCode());
    }

    public void doSomething() {
        System.out.println("业务逻辑执行。。。");
    }
}
